import request from '../request'
import globalConfig from "../config";
import {praseStrEmpty} from '@/common/utils'

// 极验注册
export function geeTestRegister(data) {
    return request({
        url: `${globalConfig.getAPIPath()}${globalConfig.geeTest.register}`,
        method: 'get',
        data: data
    })
}

// 验证
export function geeTestValidate(data) {
    return request({
        url: `${globalConfig.getAPIPath()}${globalConfig.geeTest.validate}`,
        method: 'post',
        params: data
    })
}
